home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / fax-faq / mgetty+sendfax+vgetty next >
Encoding:
Text File  |  1995-07-25  |  43.7 KB  |  1,116 lines

  1. Subject: Mgetty+Sendfax with Vgetty Extensions (FAQ)
  2. Newsgroups: comp.dcom.fax,comp.dcom.modems,comp.answers,news.answers
  3. From: steve@work.bellingham.wa.us (Steven Work)
  4. Date: Sun, 6 Nov 1994 14:20:11 GMT
  5.  
  6. Archive-name: fax-faq/mgetty+sendfax+vgetty
  7. Last-modified: 20 July 1994
  8.  
  9.               ``mgetty+sendfax''
  10.         Answers to Frequently-Asked Questions
  11.        regarding Gert Doering's Fax-enabled getty replacement,
  12.         with Klaus Weidner's voice extensions
  13.  
  14.                  Steven Work
  15.              steve@work.bellingham.wa.us
  16.  
  17. ------------------------------
  18.  
  19. Subject: Introduction
  20.  
  21. This document attempts to answer the most frequently asked questions
  22. about mgetty+sendfax/vgetty, Gert Doering's fax-enabled getty
  23. replacement with Klaus Weidner's voice processing extensions.  
  24.  
  25. ------------------------------
  26.  
  27. Subject: Table of Contents
  28.  
  29. Part I: "Deciding whether to use it" questions
  30.  What is it?
  31.  What does it look like when it runs?
  32.  What do I need to use mgetty+sendfax/vgetty?
  33.  What other software do I need?
  34.  What terms cover my use of mgetty+sendfax/vgetty?
  35.  Where can I get mgetty+sendfax?
  36. Part 2: Other questions
  37.  What image file formats can sendfax send?
  38.  Why doesn't mgetty accept other file formats besides G3?
  39.  Why doesn't mgetty use the modem's autoanswer capabilities?
  40.  Why mgetty ignores /dev/tty* dialin, /dev/cua* dialout conventions:
  41.  Troubleshooting questions & answers
  42.  My ZyXEL doesn't work right after a ROM upgrade: What's wrong?
  43. Part 3: Compatibility Issues
  44.  modems.db -- modem compatibility list
  45.  Suspicious fax machines
  46.  
  47. ---------------------------
  48.  
  49. Subject: Part I: "Deciding whether to use it" questions
  50.  
  51. ------------------------------
  52.  
  53. Subject:  What is it?
  54. From: steve@work.bellingham.wa.us (Steve Work)
  55.  
  56. Mgetty+sendfax is a collection of programs to send and receive
  57. faxes in a unix environment using a class 2 faxmodem.  vgetty is an
  58. extension to mgetty, distributed with it, that implements incoming
  59. voice call handling for certain voice-capable modems, notably the
  60. ZyXEL.
  61.  
  62. More specifically, the program `mgetty' allows you to use a class 2
  63. fax modem for receiving faxes and handling external logins without
  64. interfering with outgoing calls.  `sendfax' is a standalone program
  65. which sends fax files.  `vgetty' is an extended version of mgetty
  66. that can answer the telephone like an answering machine and record
  67. a voice-mail message (if it finds one), or perform `mgetty's fax or
  68. data call handling otherwise.  The mgetty+sendfax distribution
  69. includes vgetty and a good-sized gob of utility programs that help
  70. you manage faxes and voice messages.
  71.  
  72. ------------------------------
  73.  
  74. Subject:  What does it look like when it runs?
  75. From: steve@work.bellingham.wa.us (Steven Work) and the distribution
  76. CC: clewis@ferret.ocunix.on.ca (Chris Lewis)
  77.  
  78. Like a smarter `getty'.  getty is the program that manages the
  79. first step of the login procedure on a Unix computer; when used
  80. with a modem, it watches for an incoming call and (ordinarily)
  81. prints the "login:" prompt (and reads the username, and passes off
  82. to "login").
  83.  
  84. Unlike traditional versions of getty or uugetty, which will put a
  85. modem into auto-answer mode, mgetty does not.  When an incoming call
  86. occurs, mgetty sees the "RING"s when they occur.  When they do occur,
  87. mgetty tells the modem to answer, and the modem will tell mgetty what
  88. kind of connection happens.  If it is FAX, mgetty will receive the
  89. FAX.  If data, mgetty prompts for a userid, then hands the open line
  90. off to login for a normal data login.
  91.  
  92. Note that it's the modem's job to distinguish a FAX call from a data
  93. call.  Not all fax modems can do this, and if yours _can't_ there is no way
  94. for mgetty to do this for it.  mgetty can be used with modems that
  95. cannot distinguish a fax call from a data call, but you must tell it
  96. ahead of time what type of call to expect.
  97.  
  98. mgetty is also configurable to select programs other than login for
  99. special connections (eg: uucico, fido or other programs) depending
  100. on the login userid.
  101.  
  102. mgetty also supports caller-id and can deny connections based on
  103. originating telephone number.
  104.  
  105. vgetty is an extension to mgetty that works with voice-capable
  106. modems to provide additional call-handling capabilities.  When the
  107. modem reports a RING, vgetty has the modem pick up the line and
  108. play a voice message (the greeting).  Then, as for mgetty, the
  109. modem reports the connection type.  If it hears "noises" it can't
  110. identify (like your mother's voice) it reports a voice connection
  111. and vgetty records the noise as an incoming voice message.  If the
  112. modem reports that it identifies a fax tone, vgetty acts like
  113. mgetty and receives a fax (or answers a poll).
  114.  
  115. If instead the modem hears nothing following the greeting (a
  116. certain level of silence that continues for a certain number of
  117. seconds) it assumes the caller is a data modem and attempts a data
  118. connection.
  119.  
  120. vgetty implements the normal answering-machine functions of
  121. remote message playback as well; its operation is driven from shell
  122. scripts, so you can extend it to a full voice-mail jail if you
  123. wish.  (This description of voice modem behavior applies to the
  124. ZyXELs; I [steve@work.bellingham.wa.us] assume other voice modems
  125. are similar.)
  126.  
  127. vgetty is intended for people who want to share a phone line for
  128. data and voice use, with the main focus being voice calls. It is
  129. *NOT* intended for a dialup system that occasionally gets a voice
  130. call, since some modems are confused by hearing a recorded voice
  131. message and won't connect.
  132.  
  133. Note that the voice extensions are maintained by Klaus Weidner
  134. (klaus@snarc.greenie.muc.de), so direct questions about them to
  135. that address. 
  136.  
  137. More from the distribution (some edits):
  138.  
  139. This is what you can do with `sendfax' if you have a standard class
  140. 2 fax modem:
  141.  
  142. * send faxes directly or using shell scripts (easily integrated into
  143.   other applications).
  144.  
  145. * do "fax polling", this means you can call the weather station and
  146.   get them to send you a fax containing the current weather map.
  147.   (Not all modem manufacturers implement this feature in their
  148.   modems!)
  149.  
  150. * create a "fax queue", outgoing faxes get sent automatically, the
  151.   user is informed by mail about the result.
  152.  
  153. `mgetty' allows you to use a single modem line for receiving calls
  154. and dialing out.
  155.  
  156. * `mgetty' knows about "smart" modems, and will make sure that the
  157.   modem is always in a defined state (specific modem initialization
  158.   possible)
  159.  
  160. * Incoming calls are answered manually (`RING' -> `ATA' ->
  161.   `CONNECT') instead of using auto-answer (`ATS0=1'), this way the
  162.   modem won't pick up the phone when the machine is down or logins
  163.   are not allowed.
  164.  
  165. * mgetty completely replaces getty and/or uugetty.  Like uugetty,
  166.   supports lock files in a fashion compatible with almost all known
  167.   versions of UUCP (HDB/BNU, SVR4, V7, Taylor in various flavours).
  168.   uugetty has some features mgetty doesn't support; see "How does
  169.   mgetty differ from uugetty?" below.
  170.  
  171. * mgetty supports System V style gettydefs terminal configurations.
  172.  
  173. * mgetty can receive class 2 faxes (if your modem supports it).
  174.  
  175. * mgetty knows about incoming FidoNet calls.
  176.  
  177. * mgetty has extensive logging / debugging features
  178.  
  179. * do "fax poll sending", that is, you can setup your machine as fax
  180.   poll server, to send some fax pages to "fax poll" callers. (Send
  181.   informations about your system, the current wheather map, ...). Be
  182.   warned, even less modems support this feature.
  183.  
  184. * mgetty can selectively refuse calls based upon CallerID, if your
  185.   modem supports it, and you're subscribed to the service. CallerID
  186.   is also logged.
  187.  
  188. * mgetty has facilities to allow you to refuse incoming FAXes when
  189.   available disk space is low.
  190.  
  191. vgetty inherits most of mgettys features, and offers some additional
  192. ones:
  193.  
  194. * behaves like a normal answering machine for human callers
  195.  
  196. * automatic fax reception when a T.30 calling tone is detected
  197.  
  198. * If the caller isn't a human or fax, a data connect is attempted,
  199.   if this is successful, the caller will get a normal login
  200.  
  201. * does not interfere with dialouts
  202.  
  203. * remote playback of messages via a DTMF code
  204.  
  205. * toll saver -- if there are new messages, pick up the phone
  206.   earlier, this way you can hang up in time to avoid a useless call
  207.  
  208. * message light - the autoanswer LED of your modem (if it has one)
  209.   is turned on if there are new messages
  210.  
  211. * easy playback - on some modems, you can play back the new messages
  212.   just by pressing DATA/VOICE
  213.  
  214. * speech synthesizer support - add the date and time to messages
  215.   (not included by default)
  216.  
  217. * voice conversion utilities - play messages on /dev/audio
  218.  
  219. ------------------------------
  220.  
  221. Subject:  What do I need to use mgetty+sendfax/vgetty?
  222. From: steve@work.bellingham.wa.us (Steve Work), and distribution
  223. CC: clewis@ferret.ocunix.on.ca (Chris Lewis)
  224.  
  225. Several things.  A computer running some (most) variants of the Unix
  226. operating system.  (The operating system must support termio.h or
  227. termios.h; this generally rules out "pure BSD" systems.)  For support
  228. of dial-in data connections (a la "getty"), you need a modem (probably
  229. one somewhat compatable with the H*yes "AT" command set).  For sending
  230. and receiving faxes, you need a modem that understands the Class 2 (or
  231. 2.0) fax command set.  For voice processing, you need a modem that is
  232. capable of doing voice.  
  233.  
  234. The ZyXEL family of modems is fully supported; the Dolphin and Zoom
  235. modems are supported less completely.  In particular, the voice data
  236. format used by the Dolphin and Zoom modems is considered proprietary
  237. by Rockwell, the manufacturer of the chipset used in these modems.
  238. Gaining access to the internal format of the voice files used and
  239. created by the Rockwell-chip voice modems would require signing a
  240. non-disclosure agreement, and that in turn would prevent the source
  241. code from being freely-distributable.  A patch exists that makes it
  242. possible for zplay and vgetty to playback and record voice on a
  243. Rockwell-based modem.
  244.  
  245. Mgetty has been successfully installed and run on the following
  246. systems:
  247.  
  248.       SCO Unix 3.2.1 (ODT 1.0)                    (very well tested)
  249.       SCO Unix 3.2.4 (ODT 2.0 + 3.0)              (very well tested)
  250.       Linux 0.99pl1 .. 1.0                        (very well tested)
  251.       ISC Unix 3.0                                (tested)
  252.       SVR4 Unix                                   (well tested)
  253.       AT&T 3B1 3.51m                              (well tested)
  254.       HP-UX 8.x                                   (well tested)
  255.       AIX                                         (mgetty, not vgetty)
  256.       SunOS 4.1.1                                 (well tested)
  257.       NetBSD / FreeBSD                            (works)
  258.       BSDI v1.1                                   (under work, not done --
  259.                                                          greg@wwa.com)
  260.  
  261. It should be possible to run mgetty on any other Unix with
  262. `termio.h' or `termios.h'. For best results, `select(S)' or
  263. `poll(S)' are recommended, but there's a workaround. (Warning: for
  264. Unix SVR3.1 or earlier, *do not use poll()*, it will not work on
  265. tty devices.) 
  266.  
  267. Up to now, it has been successfully used with the following modems
  268. (no exhaustive list): 
  269.  
  270.       ZyXEL U1496
  271.     (very well tested.  With some ROM versions, one or another
  272.     function is not working.  ROM 6.12 works great)
  273.  
  274.       SupraFAX v32bis
  275.         (tested, works well, no fax polling available, no voice)
  276.   
  277.       GVC FM144/+
  278.       (tested, works well, no fax polling available, no voice)
  279.   
  280.       TKR DM-24VF+ (Deltafax)
  281.       (tested, works quite well, dunno about polling, no voice)
  282.  
  283. Mgetty *should* work with all class 2 faxmodems. Maybe the DC2
  284. character sent at the beginning of a page by `faxrec.c' must be
  285. changed to XON, for old class 2 modems (implementing very old drafts
  286. of the standard).  Unfortunately, each class 2 modem can be a tiny bit
  287. different.  
  288.  
  289. Gert says, however: "Most modems worked "more-or-less", found only one
  290. that didn't work *at all*. [...]  `Class 2.0' is the official
  291. standard [and all "class 2.0" modems should work well with mgetty.]
  292. The only ``modem difference'' so far is that USR implemented it in a
  293. broken fashion, to behave similarily to all the (broken! all of them
  294. are!) class 2 modems. ("REVERSE")
  295.  
  296. The rest of this section is a more complete list of modems together
  297. with comments and the policy.h settings required to make them work:
  298.  
  299. Modem brand/model:     "Dynalink 9624AP"
  300. at+fmfr?        EXAR
  301. at+fmdl?        9648,2,E,290X
  302. at+frev?        10, 10, 92   REVISION  X 2.0
  303. ati3            ADN-06
  304. ati4            MARROW 2900KSX V2.0B 11-05-1992
  305. tested on:        linux 0.99p10
  306. working:        sendfax, mgetty(?)
  307. remarks: avoid this cheap and nasty modem if you possibly can. It needs:
  308.          delay(500) at the end of fax_open_device(), sendfax.c line 111
  309.          delay(500) after the call to fax_send_page(), sendfax.c line 533
  310.          "\d\d\d" in all the AT-commands in init_chat_seq, mgetty.c
  311. contributor:        a.j.scholl@durham.ac.uk
  312. #define DATA_FLOW    FLOW_HARD
  313. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  314. #define FAXSEND_FLOW    FLOW_HARD 
  315. #define FAX_SEND_BAUD     B19200
  316. #define FAX_MODEM_HANDSHAKE ""
  317. #define FAX_SET_CSTOPB    1        /* for when you've added this option :-) */
  318. ----------------------------------------------------
  319. Modem brand/model:     "Zoltrix Platinum Series 14.4"
  320. at+fmfr?        ROCKWELL
  321. at+fmdl?        RC32ACL
  322. at+frev?        V1.410-AP39
  323. ati3            
  324. ati6            RCV144DP; Rev CA
  325. tested on:        linux 0.99p7
  326. working:        mgetty, sendfax
  327. remarks:                great modem! In my uucp network of 16 machines,
  328.             this modem averages at 1700 bps, while other
  329.             brand name modems such as the Trailblazer PEP
  330.             maxes out at about 1570. 
  331. contributor:        whome!light-house!las@planix.com
  332. #define DATA_FLOW    FLOW_HARD
  333. #define FAX_COMMAND_DELAY 50
  334. #define FAXREC_FLOW    FLOW_SOFT
  335. #define FAXSEND_FLOW    FLOW_SOFT
  336. #define FAX_SEND_BAUD B38400
  337. #define FAX_MODEM_HANDSHAKE "&K3"
  338. #define MODEM_INIT_STRING    "ATS0=0V1Q0&D3&K3%C1W1"
  339. ----------------------------------------------------
  340. Modem brand/model:      PCMCIA Modem HOTLINE 960 CC HL9672CC
  341. AT+FMFR?                HOTLINE
  342. AT+FMDL?                Handy 9672 CC
  343. AT+FREV?                Version 1.03H
  344. ATI3                    V1.03DP
  345. ATI4                    Handy 9672 CC H1_103
  346. AT+FDCC=?               (0,1),(0-3),(0-2),(0-2),(0,1),0,0,(0-7)
  347. tested on:              OS: Linux, Kernel: 1.0, Distribution: Slackware 1.2.0
  348.             Computer: Toshiba T4700C Notebook
  349. working:                sendfax, mgetty
  350. contributor:            lauther@zfe.siemens.de
  351. remarks:                can only do 9600 bps
  352.  
  353. #define DEFAULT_PORTSPEED       B19200
  354. #define MODEM_INIT_STRING       "ATS0=0Q0&D3&K3"
  355. #define MODEM_CMD_SUFFIX        "\r"
  356. #define DO_CHAT_SEND_DELAY      50
  357. #define FAX_COMMAND_DELAY       50
  358. #define DATA_FLOW               FLOW_HARD
  359. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  360. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  361. #define FAX_SEND_BAUD           B19200
  362. #define FAX_MODEM_HANDSHAKE     "&K3"
  363. ----------------------------------------------------
  364. Modem brand/model:      Creatix (1&1) Polimedia 14400 voice / fax modem
  365. AT+FMFR?                ???
  366. AT+FMDL?                ???
  367. AT+FREV?                ???
  368. ATI0            14400
  369. ATI1            007
  370. ATI3            V1.400/T4-DS29F
  371. ATI4            Creatix Polymedia GmbH V1.41 29/11/93
  372. ATI6            RCV144DPi Rev CA
  373. AT+FDCC=?               (0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)
  374. tested on:              ???
  375. working:                sendfax, mgetty
  376. contributor:            andreas@malcolm.in-chemnitz.de
  377.  
  378. #define DEFAULT_PORTSPEED    B38400
  379. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&K6"
  380. #define MODEM_CMD_SUFFIX    "\r"
  381. #define DO_CHAT_SEND_DELAY    50
  382. #define FAX_COMMAND_DELAY    50
  383. #define DATA_FLOW           FLOW_HARD
  384. #define FAXREC_FLOW         FLOW_HARD | FLOW_SOFT
  385. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  386. #define FAX_RECEIVE_USE_B19200
  387. #define FAX_SEND_BAUD         B19200
  388. #define FAX_MODEM_HANDSHAKE    "&K6"
  389. ----------------------------------------------------
  390.  
  391. ------------------------------
  392.  
  393. Subject:  What other software do I need?
  394. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  395. CC: gert@greenie.muc.de (Gert Doering)
  396.  
  397. For data only, no other software is needed.
  398.  
  399. mgetty itself can only send or receive G3 (raster) format.  However,
  400. the distribution includes tools to convert raw G3 files to or from the
  401. format used by "pbmplus", the Portable Bitmap Toolkit.  The pbmplus
  402. formats support (or are supported by) most raster-image programs and
  403. file formats generally used in the Unix world.  pbmplus is available
  404. at this URL (among others): ftp:// ??  The mgetty+sendfax distribution
  405. contains a patch to fix pbmplus's broken pbmtog3 converter -- using
  406. the unpatched pbmtog3 can cause errors during transmission.
  407.  
  408. GhostScript, the free Postscript page description language
  409. interpreter, can convert PostScript to G3.  Ghostscript is available
  410. at this URL (among others): ftp:// ??
  411.  
  412. Hp2pbm, available from ftp:// ??, can convert text
  413. and PCL (HP Laserjet language) to G3 or PBM.  It also contains
  414. programs for converting PBM to PostScript, PCL and Epson printers.
  415.  
  416. PBMPLUS has converters from most existing raster formats or ASCII
  417. to PBM, and from PBM to most raster formats.  You'd use the pbmtog3
  418. and g3topbm utilities in mgetty to convert between PBM and G3.
  419.  
  420. In essence, you can run with hp2pbm or PBMPLUS alone.  With GhostScript,
  421. you also need PBMPLUS or hp2pbm to convert ASCII (used for page headers
  422. etc.) to G3.
  423.  
  424. For voice you need no other software, although utilities to convert to
  425. and from the ZyXEL voice format can be handy.  This is especially true
  426. if you have audio output available besides the modem itself.
  427.  
  428. mgetty+sendfax includes some ZyXEL voice processing utilities in the
  429. voice/ subdirectory.  These can translate ZyXEL voice files to and
  430. from Sun-AU (/dev/audio), Soundblaster, some other formats.
  431.  
  432. ------------------------------
  433.  
  434. Subject:  What terms cover my use of mgetty+sendfax/vgetty?
  435.  
  436. >From the distribution:
  437.  
  438. "The mgetty+sendfax package is Copyright (c) 1993 Gert Doering. You
  439. are permitted to do anything you want with this program -
  440. redistribute it, use parts of the code in your own programs, ...,
  441. but you have to give me credit - do not remove my name.
  442.  
  443. "If the program works for you, and you want to honour my efforts,
  444. you are invited to donate as much as you want.
  445.  
  446. "If you make money with mgetty, I want a share. What I mean by that
  447. is: it's perfectly OK with me to get paid for mgetty installation
  448. or support, but if you want to actually sell mgetty, or pack mgetty
  449. with a modem and sell it as "unix fax package", contact me first.
  450.  
  451. "*WARNING:* This package is still BETA software. Use it at your own
  452. risk, there is *no* warranty. If it erases all the data on your
  453. hard disk, damages your hardware, or kills your dog, that is
  454. entirely your problem. Anyway, the program works for me and quite a
  455. lot of other people."
  456.  
  457. ------------------------------
  458.  
  459. Subject:  Where can I get mgetty+sendfax?
  460.  
  461. The official release sites are these URLs:
  462.  
  463.   ftp://sunsite.unc.edu/pub/Linux/system/Serial/mgetty+sendfax*
  464.   ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/... (or so)
  465.  
  466. You can certainly find them elsewhere.  The last time this paragraph
  467. was updated, the most recent full release was 0.20.
  468.  
  469. The most recent _test_ release is generally available at this URL:
  470.  
  471.    ftp://ftp.informatik.tu-muenchen.de:/tmp/mgetty*.tar.gz
  472.  
  473. ------------------------------
  474.  
  475. Subject: Part 2: Other questions
  476.  
  477. ------------------------------
  478.  
  479. Subject:  What image file formats can sendfax send?
  480. From:    gert@greenie.muc.de (Gert Doering)
  481.  
  482. Fax input format:
  483.  
  484.    raw G3 data (according to CCITT standard T.4, 1-dimensionally
  485.    compressed). Can be created by GhostScript's "dfaxhigh" or "dfaxlow"
  486.    drivers (they will create raw G3 data with a 64 byte header, that
  487.    sendfax + g3cat + g3topbm will recognize and skip) or by the "pbmtog3"
  488.    program.
  489.    Warning: the pbmtog3 program from the "pbmplus" distribution does *not*
  490.    create valid G3 data according to T.4, to be precise, the lines are
  491.    shorter than 1728 pixels and the leading EOL code is missing. To fix
  492.    it, use the patch that is provided in "patches/pbmtog3.p1". Even
  493.    better, use my own utility. (The patch is *NOT* needed for my pbmtog3
  494.    program!).
  495.    Use of a unpatched pbmtog3 will most likely cause +FHNG:50 or +FHNG:54
  496.    error codes.
  497.  
  498.    Do not use "tiff-G3" data as input. Though the data itself is G3 encoded,
  499.    it's wrapped into a very complex layer of TIFF headers that would
  500.    require non-trivial parsing that's simply not needed for sendfax.
  501.    Faxing a TIFF file will result in a warning message from sendfax, and,
  502.    most likely, in a failed transmission...
  503.  
  504.  
  505. Fax output format:
  506.  
  507.    The files that mgetty places into FAX_SPOOL_IN are in the same format
  508.    as the files that sendfax wants to send, raw G3 data as of CCITT T.4.
  509.    To convert them to "pbm", use the g3topbm program. To convert them to
  510.    X-Windows xwd format, use the "contrib/g3toxwd" program.
  511.  
  512.    If the files are received without transmission errors, it is possibly
  513.    to send received fax files without any additional conversion. Since
  514.    some modems insert filling zero-bits, a run through "g3cat" is
  515.    recommended anyway, this will remove any surplus stuff, and clean up
  516.    garbled lines.
  517.  
  518. ------------------------------
  519.  
  520. Subject:  Why doesn't mgetty accept other file formats besides G3?
  521.  
  522. Why does mgetty only send raw G3 fax files, instead of converting
  523. arbitrary image files (like TIFF) on the fly?
  524.  
  525. >From Chris Lewis:
  526.  
  527. "As I understand it, in addition to its own formats, TIFF can encapsulate
  528. some number of other formats.  Put another way, TIFF is, at least to some
  529. extent, simply a way of getting magic numbers into other formats so that
  530. TIFF-capable converters can handle multiple formats transparently.
  531.  
  532. "Yes, you certainly can have TIFF encapsulate a G3, and mgetty wouldn't
  533. have much trouble with that.  However, that leaves you with the question -
  534. what does mgetty do if it's not a G3 that's been encapsulated?  It
  535. would have to convert it.  And then we would encounter situations where
  536. mgetty's conversion speeds couldn't meet the class II FAX transmission
  537. timeouts, and you've wasted telephone time...  Ditto on reception.  Indeed,
  538. there is a real possibility that mgetty would not be able to keep up
  539. if the input or output file was anything other than a G3.
  540.  
  541. "Approaching this from another viewpoint, we should also remember that
  542. mgetty is a transfer protocol and implementation.  *Not* conversion
  543. software.  mgetty needs to read and write G3s, and that's all.  Leave
  544. conversions to other software."
  545.  
  546. And from Gert Doering:
  547.  
  548. "Well, TIFF is a very complex file format, that can support dozens of
  549. different page data encodings, different byte / bit orderings, multiple
  550. pages per file, ... -> parsing it is very complex, look at Sam Leffler's
  551. TIFF-Library, which is quite huge.
  552.  
  553. "On the contrary, mgetty's "g3" files are raw G3 data. No headers, no
  554. formating, no "digging around" in the file to find the actual page
  555. data, one page per file, simplest possible.
  556.  
  557. "Not using TIFF simplifies mgetty and sendfax enormously, but doesn't
  558. complicate the user interface much, as long as "faxspool" or similar tools
  559. are used that will hide the internals, that is, how the fax backend expect
  560. its data, from the user. To be precise, to not use TIFF *simplifies* using
  561. mgetty, because nearly every Unix program can read pbm and converting g3
  562. -> pbm is very easy, while I haven't seen a good *multipage*-Tiff - to -
  563. PBM converter yet."
  564.  
  565. ------------------------------
  566.  
  567. Subject:  Why doesn't mgetty use the modem's autoanswer capabilities?
  568.  
  569. 1. Because it isn't possible to distinguish a fax from a data call if you
  570. don't have full modem control. Besides, it will make sure that the modem
  571. doesn't answer the phone while the host isn't ready for it.
  572.  
  573. 2. And callerid won't work without extreme difficulty.
  574.  
  575. ------------------------------
  576.  
  577. Subject:  Why mgetty ignores /dev/tty* dialin, /dev/cua* dialout conventions:
  578.  
  579. >From gert@greenie.muc.de (Gert Doering):
  580.  
  581. The two-device scheme is meant to prevent multiple processes from
  582. accessing the same physical device at the same time. Since mgetty
  583. opens the port with O_NDELAY, the kernel sees a process on tty*
  584. (mgetty) and prevents any open() on cua* (uucico, cu, ...).  So, you
  585. have to use the same device for both program types; under Linux,
  586. that's tty*, and under SunOS & Solaris that's cua*.
  587.  
  588. >From rj@rainbow.in-berlin.de (Robert Joop):
  589.  
  590. Under Sun's OS, if the computer is down or /dev/ttya isn't opened, DTR
  591. isn't asserted and the modem won't pick up.  The kernel lets an
  592. open(2) call to /dev/ttya return only when DCD becomes active and cua0
  593. isn't being used.
  594.  
  595. For the reason explained by Gert, mgetty takes over the task of the
  596. sun kernel and has to use /dev/cua?.  To avoid collisions with
  597. dial-out programs, it follows uucp locking conventions.
  598.  
  599. The relevant lines from a Sun /etc/ttytab:
  600. #ttya   "/usr/etc/getty zyxel.38400"    vt100         on  # modem line
  601. cua0    "/usr/local/bin/vgetty -n 6 -x 9 cua0"  vt100 off # modem line
  602.  
  603. This all applies to sunos4/solaris1, sunos5/solaris2 probably differs
  604. substantially.
  605.  
  606. ------------------------------
  607.  
  608. Subject:  Troubleshooting questions & answers
  609. From: gert@greenie.muc.de
  610.  
  611. Q: I keep getting the error code +FHNG:50 or +FHNG:54 after sending a
  612.    page. Sometimes it says "page bad, retrain requested" and infinitely
  613.    resends the page.
  614.  
  615. A: This error means that something went wrong between the two machines,
  616.    while your end was sending the page data. In the case of +FHNG:50 or
  617.    +FHNG:54, the other end most likely simply hung up (so your modem
  618.    couldn't get any page transfer status at all), in the other case, the
  619.    receiver complained that it didn't like the data on the page.
  620.  
  621.    The most common reason for this behaviour is that you used a copy
  622.    of ``pbmtog3'' that came from the ``pbmplus'' distribution and doesn't
  623.    have my patch included (Mind you, the pbmtog3 program is required for
  624.    the page headers that faxspool puts on top of each page!).
  625.  
  626.    If that is not the reason, there may be flow control problems, or the
  627.    line have simply has been very noisy, or so. Get in touch with the
  628.    receiver, and find out whether the page looks good or whether there are
  629.    lines missing, others corrupted, ... - if there are errors, check your
  630.    flow control setting.
  631.  
  632.    If there are no errors whatsoever, and you're sure that you use my
  633.    version of pbmtog3 or a patched version of pbmplus', then I'm out of
  634.    wits - something's broken in the modem. Maybe you should upgrade your
  635.    ROM version.
  636.  
  637.  
  638. Q: When receiving faxes, I get the +FCON message logged, then mgetty says
  639.    "starting fax receiver". fax_wait_for(OK) is called, logs some random
  640.    junk bytes, and gives up after a minute, complaining about "timeout".
  641.  
  642. A: Most likely, you have a modem that switches baud rate to 19200 bps
  643.    right after sending the +FCON message to the host, and the normal port
  644.    speed is something else. Check policy.h whether FAX_RECEIVE_USE_B19200
  645.    is defined, and change the setting (if the modem does *not* change
  646.    speed, but the define is *set*, the effect will be similar).
  647.  
  648.  
  649. Q: I keep changing values in policy.h, but nothing changes.
  650.  
  651. A: maybe you've had an older version of mgetty installed to
  652.    /usr/local/bin/mgetty and are calling this from /etc/init? Newer
  653.    versions are installed in /usr/local/sbin/mgetty. Check the time
  654.    stamp on the mgetty you just compiled vs. the mgetty listed in
  655.    /etc/inittab.
  656.  
  657.  
  658. Q: Half of the faxes that I receive are too short, they look as if every
  659.    second pixel line is missing.
  660.  
  661. A: Well, they *are* short: most likely, they are received in normal
  662.    resolution (204x98 dpi) instead of fine resolution (204x196 dpi). You
  663.    can see it in the filename, if it starts with "ff*", it's fine, if it
  664.    starts with "fn*", it's normal resolution. To ``stretch'' a normal
  665.    resolution fax to proper proportions, use ``g3topbm -stretch fn...''
  666.  
  667.  
  668. Q: when upgrading from mgetty 0.19 (or before) to mgetty 0.20, my
  669.    ``mgetty.login'' configuration file doesn't work anymore.
  670.  
  671. A: Yes, the format has changed. Because of this, and to avoid confusions,
  672.    I'v renamed the LOGIN_CFG_FILE to ``login.config''. Read the sample
  673.    file that I provide for explantations how the configuration works.
  674.  
  675.    Do not fiddle with the ``uid'' and ``utmp'' fields unless you
  676.    understand what they're for.
  677.  
  678.  
  679. Q: login complains with ``no utmp entry, must execute login from the
  680.    lowest level sh''
  681.  
  682. A: I *told* you not to fiddle with the ``utmp'' field... - most likely,
  683.    in your ``login.config'' file, the utmp field for the entry calling
  684.    /bin/login isn't "-".
  685.  
  686.    Another reason could be a faulty /etc/init (hits only Linux users) or a
  687.    corrupted /etc/utmp file. In that case, reboot your machine.
  688.  
  689. Q: When mgetty is running and I dial out, I do not get "CONNECT" but only
  690.    junk, as "+FCO", "+FTI:", "+FHS:20"
  691.  
  692. A: Well, yes, that's a problem with the 2.0 implementation in mgetty. That
  693.    is: while mgetty is running, the modem is in "AT+FCLASS=2.0" mode and
  694.    expects to connect to a fax on the remote side. (With class 2, we
  695.    worked around this by setting +FCLASS=0;+FAA=1, but that will make the
  696.    modem answer in class 2, not 2.0 [subject to further testing!])
  697.  
  698.    Solution: in the program dialing out, initialize the modem with
  699.    "AT+FCLASS=0".  Most likely, a modem reset (ATZ) will also help.
  700.  
  701. Q: vgetty and zplay don't work, I can't record or play back messages.
  702.    I'm using mgetty 0.20 and ZyXEL 6.10 ROMs, the log file shows that
  703.    `+VIT=60' produces `no carrier'.
  704.  
  705. A: (Klaus Weidner, klaus@snarc.greenie.muc.de): My fault, I'm
  706.    sorry. `+VIT=60' is only supported by ROMs >=6.11.  Please remove
  707.    it from the two places it occurs in voclib.c, or get the latest
  708.    test release from ftp.informatik.tu-muenchen.de:/tmp, or get 6.12
  709.    ROMs.
  710.  
  711. Q: every time mgetty starts up, the permissions of my tty device get
  712.    changed and I have to issue "chmod +w /dev/ttySx" to be able to
  713.    dial out.
  714.  
  715. A: that's not a bug, that's a feature. You don't *want* to allow anybody
  716.    using your machine to be able to dial out (think of your phone costs!),
  717.    so it's a security issue.
  718.    If you *want* to allow dialout for everyone, #define FILE_MODE 0666
  719.    in policy.h. I would not recommend it, I would give access to a
  720.    special group, and put every one that may dial out into this group.
  721.  
  722. ------------------------------
  723.  
  724. Subject:  My ZyXEL doesn't work right after a ROM upgrade: What's wrong?
  725. From: felix@escape.vsse.in-berlin.de
  726.  
  727. Do a full modem reset after upgrading the firmware. This is not
  728. described in the German ZyXEL manual (is it described in the
  729. English one?) but should be done in any case.
  730.  
  731. ------------------------------
  732.  
  733. Subject: Part 3: Compatibility Issues
  734.  
  735. ------------------------------
  736.  
  737. Subject:  modems.db -- modem compatibility list
  738. From: gert@greenie.muc.de
  739.  
  740. OK, here's the current (22 June 1994) modems.db:
  741. ----------------------------------------------------
  742. Modem brand/model:     "Dynalink 9624AP"
  743. at+fmfr?        EXAR
  744. at+fmdl?        9648,2,E,290X
  745. at+frev?        10, 10, 92   REVISION  X 2.0
  746. ati3            ADN-06
  747. ati4            MARROW 2900KSX V2.0B 11-05-1992
  748. tested on:        linux 0.99p10
  749. working:        sendfax, mgetty(?)
  750. remarks: avoid this cheap and nasty modem if you possibly can. It needs:
  751.          delay(500) at the end of fax_open_device(), sendfax.c line 111
  752.          delay(500) after the call to fax_send_page(), sendfax.c line 533
  753.          "\d\d\d" in all the AT-commands in init_chat_seq, mgetty.c
  754. contributor:        a.j.scholl@durham.ac.uk
  755. #define DATA_FLOW    FLOW_HARD
  756. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  757. #define FAXSEND_FLOW    FLOW_HARD 
  758. #define FAX_SEND_BAUD     B19200
  759. #define FAX_MODEM_HANDSHAKE ""
  760. #define FAX_SET_CSTOPB    1        /* for when you've added this option :-) */
  761. ----------------------------------------------------
  762. Modem brand/model:     "Zoltrix Platinum Series 14.4"
  763. at+fmfr?        ROCKWELL
  764. at+fmdl?        RC32ACL
  765. at+frev?        V1.410-AP39
  766. ati3            
  767. ati6            RCV144DP; Rev CA
  768. tested on:        linux 0.99p7
  769. working:        mgetty, sendfax
  770. remarks:                great modem! In my uucp network of 16 machines,
  771.             this modem averages at 1700 bps, while other
  772.             brand name modems such as the Trailblazer PEP
  773.             maxes out at about 1570. 
  774. contributor:        whome!light-house!las@planix.com
  775. #define DATA_FLOW    FLOW_HARD
  776. #define FAX_COMMAND_DELAY 50
  777. #define FAXREC_FLOW    FLOW_SOFT
  778. #define FAXSEND_FLOW    FLOW_SOFT
  779. #define FAX_SEND_BAUD B38400
  780. #define FAX_MODEM_HANDSHAKE "&K3"
  781. #define MODEM_INIT_STRING    "ATS0=0V1Q0&D3&K3%C1W1"
  782. ----------------------------------------------------
  783. Modem brand/model:      PCMCIA Modem HOTLINE 960 CC HL9672CC
  784. AT+FMFR?                HOTLINE
  785. AT+FMDL?                Handy 9672 CC
  786. AT+FREV?                Version 1.03H
  787. ATI3                    V1.03DP
  788. ATI4                    Handy 9672 CC H1_103
  789. AT+FDCC=?               (0,1),(0-3),(0-2),(0-2),(0,1),0,0,(0-7)
  790. tested on:              OS: Linux, Kernel: 1.0, Distribution: Slackware 1.2.0
  791.             Computer: Toshiba T4700C Notebook
  792. working:                sendfax, mgetty
  793. contributor:            lauther@zfe.siemens.de
  794. remarks:                can only do 9600 bps
  795.  
  796. #define DEFAULT_PORTSPEED       B19200
  797. #define MODEM_INIT_STRING       "ATS0=0Q0&D3&K3"
  798. #define MODEM_CMD_SUFFIX        "\r"
  799. #define DO_CHAT_SEND_DELAY      50
  800. #define FAX_COMMAND_DELAY       50
  801. #define DATA_FLOW               FLOW_HARD
  802. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  803. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  804. #define FAX_SEND_BAUD           B19200
  805. #define FAX_MODEM_HANDSHAKE     "&K3"
  806. ----------------------------------------------------
  807. Modem brand/model:      Creatix (1&1) Polimedia 14400 voice / fax modem
  808. AT+FMFR?                ???
  809. AT+FMDL?                ???
  810. AT+FREV?                ???
  811. ATI0            14400
  812. ATI1            007
  813. ATI3            V1.400/T4-DS29F
  814. ATI4            Creatix Polymedia GmbH V1.41 29/11/93
  815. ATI6            RCV144DPi Rev CA
  816. AT+FDCC=?               (0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)
  817. tested on:              ???
  818. working:                sendfax, mgetty
  819. contributor:            andreas@malcolm.in-chemnitz.de
  820.  
  821. #define DEFAULT_PORTSPEED    B38400
  822. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&K6"
  823. #define MODEM_CMD_SUFFIX    "\r"
  824. #define DO_CHAT_SEND_DELAY    50
  825. #define FAX_COMMAND_DELAY    50
  826. #define DATA_FLOW           FLOW_HARD
  827. #define FAXREC_FLOW         FLOW_HARD | FLOW_SOFT
  828. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  829. #define FAX_RECEIVE_USE_B19200
  830. #define FAX_SEND_BAUD         B19200
  831. #define FAX_MODEM_HANDSHAKE    "&K6"
  832. ----------------------------------------------------
  833. Modem brand/model:      Practical Peripherals PM14400FXMT
  834. at+fmfr?                2.42 (c) Practical Peripherals Inc. 1993.
  835. at+fmdl?                PM14400FMXT [6R4] 2.42
  836. at+frev?                Version 2.42
  837. ati3                    PM14400FMXT [6R4] Version 2.42 (c) Practical Peripherals Inc. 1993.
  838. ati4                    a097840F284C6703F
  839.                         bC60004000
  840.                         r1001111171012000
  841.                         r3000111010000000
  842. tested on:              Linux 1.0 (Slackware 1.2.0)
  843. working:                sendfax, mgetty
  844. remarks:                Good modem; can handle ALL incoming data calls at all
  845.                         speeds, plus *MOST* incoming FAXes (some paper
  846.                         machines give +FHNG:100 @ 2400 baud).  Good manual,
  847.                         but (like others, no +F commands listed.  My guess is
  848.                         about 75% Class 2 commands implemented.
  849. contributor:            paul@edgewood.portland.or.us
  850. #define DEFAULT_PORTSPEED       B38400 /* 57600 w/ 'setserial spd_hi' */
  851. #define FAX_RECEIVE_USE_19200
  852. #define FAX_SEND_BAUD           B19200
  853. #define DATA_FLOW               FLOW_HARD
  854. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  855. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  856. #define FAX_MODEM_HANDSHAKE ""
  857. #define MODEM_INIT_STRING       "\\dATM0S0=0Q0&C1&D2&K3&Q5"
  858. ---------------------------------------------------
  859. Modem brand/model:      "ZyXEL 1496 E+"
  860. at+fmfr?                ZyXEL
  861. at+fmdl?                U1496E  V 6.12 P
  862. at+frev?                U1496E  V 6.12 P
  863. ati            1496
  864.  
  865. tested on:              DEC OSF/1 v1.2-hybrid
  866.             SCO Unix ODT 3.0
  867.             Linux (various)
  868. working:                sendfax, mgetty, vgetty
  869. contributor:            Marc@Synergytics.Com
  870. #define DATA_FLOW       FLOW_HARD
  871. #define FAXREC_FLOW     FLOW_HARD | FLOW_SOFT
  872. #define FAXSEND_FLOW    FLOW_HARD | FLOW_SOFT
  873. #define FAX_SEND_BAUD   B38400
  874. #define FAX_MODEM_HANDSHAKE "&H3"
  875. #define MODEM_INIT_STRING "ATS0=0Q0&D3&H3&N0&K4"
  876. ---------------------------------------------------
  877. Modem brand/model:      ZyXEL U1496EG+ 
  878. AT+FMFR?                ZyXEL
  879. AT+FMDL?                U1496EG V 6.12 P 
  880. AT+FREV?        U1496EG V 6.12 P 
  881. ATI3            (OK)
  882. ATI4                    (OK)
  883. AT+FDCC=?         (0,1),(0-5),(0-2),(0-2),(0-1),(0),(0),(0-7)
  884. tested on:              AIX 3.2.5
  885. working:                sendfax, mgetty (both 0.20)
  886. contributor:            hm@ix.de
  887. remarks:                
  888.  
  889. #define DEFAULT_PORTSPEED       B38400
  890. #define MODEM_INIT_STRING       "ATL0S0=0Q0&D3&H3&N0&K4"
  891. #define MODEM_CMD_SUFFIX        "\r"
  892. #define DO_CHAT_SEND_DELAY      50
  893. #define FAX_COMMAND_DELAY       50
  894. #define DATA_FLOW               FLOW_HARD
  895. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  896. #define FAXSEND_FLOW            FLOW_SOFT
  897. #define FAX_SEND_BAUD           B38400
  898. #define FAX_MODEM_HANDSHAKE     "&K3"
  899.  
  900. ---------------------------------------------------
  901.  
  902. Modem brand/model:      GVC GM-144VBIS+
  903. AT+FMFR?                EXAR
  904. AT+FMDL?                9648,2,E,290X
  905. AT+FREV?        GM-144VBIS+; RC9696/14
  906. ATI3            170
  907. ATI4                    GM-144VBIS+; RC9696/14
  908. AT+FDCC=?         (0-1),(0-3),(0-3),(0-2),(0-2),(0),(0),(0-7)
  909. tested on:              AIX 3.2.5
  910. working:                mgetty-0.20 
  911. contributor:            hm@ix.de
  912. remarks:                (sendfax is not tested and not intended to)
  913.  
  914. #define DEFAULT_PORTSPEED       B38400
  915. #define MODEM_INIT_STRING       "ATL0S0=0Q0&D3\\\\Q3&S0%C\\\\N6"
  916. #define MODEM_CMD_SUFFIX        "\r"
  917. #define DO_CHAT_SEND_DELAY      50
  918. #define FAX_COMMAND_DELAY       50
  919. #define DATA_FLOW               FLOW_HARD
  920. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  921. #define FAXSEND_FLOW            FLOW_SOFT
  922. #define FAX_SEND_BAUD           B38400
  923. #define FAX_MODEM_HANDSHAKE     "\\\\Q3&S0"
  924.  
  925. ----------------------------------------------------
  926. Modem brand/model:     "Aceex 1496"
  927. at+fmfr?        EXAR
  928. at+fmdl?        9624,2,E,290E
  929. at+frev?        Sep-24-1991
  930. ati3            
  931. ati6            V.110 APR-30-1993 (ROCKWELL CHIP SET)
  932.             DM1414/2A/RC144DP-21/PCB:490-09636-xx
  933.             BZT POSTZULASSUNG-FIRMWARE VERSION:V.105
  934. tested on:        SVR4.2 (UnixWare 1.1.1)
  935. working:        mgetty, sendfax
  936. remarks:                fax send / receive with max. 19200 bd
  937.             This german telekom approved modem doesn't allow
  938.             ATA without an incoming call (real RING). So
  939.             kill -USR1 <mgetty-pid>  doesn't work. 
  940. contributor:        100272.3376@compuserve.com (Achim Buerger)
  941. #define DATA_FLOW    FLOW_HARD
  942. #define FAX_COMMAND_DELAY 50
  943. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  944. #define FAXSEND_FLOW    FLOW_HARD | FLOW_SOFT
  945. #define DEFAULT_PORTSPEED B19200
  946. #define FAX_SEND_BAUD    B19200
  947. #define FAX_MODEM_HANDSHAKE    "\\Q3&S0"
  948. #define MODEM_INIT_STRING    "ATS0=0Q0&D3\\\\Q3%C1&N0&K3"
  949. ----------------------------------------------------
  950. Modem brand/model:      "Dago Speed" from Speedy Technology, Koenigstein
  951. at+fmfr?                ROCKWELL
  952. at+fmdl?                RC32AC-W
  953. at+frev?                V1.15
  954. ati3                    V1.15
  955. ati4                    RC144DP
  956. tested on:              linux 0.99p15, 486DX50, UART 16550A
  957. mgetty version:         0.21
  958. working:                sendfax, mgetty
  959. remarks:                sendfax: works perfectly (about 50 multi-page
  960.                         faxes sent without problems)
  961.                         mgetty: my Dago does not always recognize
  962.                         fax calls correctly, especially from some fax
  963.                         machines, but fax calls from a Creatix modem
  964.                         are *almost* always recognized correctly.
  965.                         When a fax call is recognized correctly, mgetty
  966.                         has no problems. Defining FAX_RECEIVE_USE_B19200
  967.                         is necessary with my modem version.
  968.                         Data calls are always recognized correctly
  969.                         (tested with Creatix and Zyxel).
  970. contributor:            schaefer@dfki.uni-sb.de (Ulrich Schaefer)
  971. #define DEFAULT_PORTSPEED       B38400
  972. #define DATA_FLOW               FLOW_HARD
  973. #define FAXREC_FLOW             FLOW_HARD
  974. #define FAXSEND_FLOW            FLOW_HARD
  975. #define DO_CHAT_SEND_DELAY      100
  976. #define FAX_COMMAND_DELAY       100
  977. #define FAX_RECEIVE_USE_B19200
  978. #define FAX_SEND_BAUD           B38400
  979. #define FAX_MODEM_HANDSHAKE     "&K3"
  980. #define MODEM_INIT_STRING       "ATS0=0V1Q0&D3&K3"
  981.  
  982. mgetty.c:  int toggle_dtr_waittime = 2000;   /* otherwise reset may fail */
  983. -----------------------------------------------------------------------
  984.  
  985. Modem: SupraFax v.32bis
  986. System Decstation 5000/200
  987. OS:  Ultrix V4.2 (Rev. 96)
  988.  
  989.  
  990. #define DEFAULT_PORTSPEED       B38400
  991. #define MODEM_INIT_STRING  "AT&F2M0L0S0=0V1Q0&D3&K3%C1W1"
  992. #define DEFAULT_MODEMTYPE "auto"
  993. #define DO_CHAT_SEND_DELAY 50
  994. #define FAX_COMMAND_DELAY 50
  995. #define DATA_FLOW       FLOW_HARD
  996. #define FAXREC_FLOW       FLOW_SOFT
  997. #define FAXSEND_FLOW      FLOW_SOFT
  998. #define FAX_RECEIVE_USE_B19200
  999. #define FAX_SEND_BAUD B19200
  1000. #define FAX_MODEM_HANDSHAKE "&K4"
  1001. #define FAX_SEND_IGNORE_CARRIER
  1002. at+fmfr? ROCKWELL
  1003. at+fmdl? V.32AC
  1004. at+frev? V1.71-02 TR14-Jxxx-001
  1005. ati3  V1.71-02 TR14-Jxxx-001 225
  1006. ati5 (c) 1992,93 Supra Corporation
  1007. -----------------------------------------------------------------------
  1008. Modem brand/model:    Holmes Fax'em 96/24
  1009. AT+FMFR?        EXAR
  1010. AT+FMDL?          9648,2,E,290X
  1011. AT+FREV?          9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1012. ATI3             9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1013. ATI4             9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1014. AT+FDCC=?          (0,1),(0-3),(0-3),(0-2),(0-2),(0),(0),(0-7)
  1015. tested on:        OS: Linux, Kernel: 0.99pl13, Distribution: Slackware 1.1.2
  1016.             Computer: Compaq LTE Lite/25c Notebook
  1017. remarks:        introduce additional delays as mentioned in the
  1018.             mgetty-documentation
  1019. working:            sendfax, mgetty
  1020. contributor:        lauther@zfe.siemens.de
  1021. #define DEFAULT_PORTSPEED    B19200
  1022. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&H3&N0&K4"
  1023. #define MODEM_CMD_SUFFIX     "\r"
  1024. #define DO_CHAT_SEND_DELAY     50
  1025. #define FAX_COMMAND_DELAY     50
  1026. #define DATA_FLOW        FLOW_HARD
  1027. #define FAXREC_FLOW        FLOW_HARD | FLOW_SOFT
  1028. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  1029. #define FAX_SEND_BAUD       B19200
  1030. #define FAX_MODEM_HANDSHAKE     ""
  1031. -----------------------------------------------------------------------
  1032.  
  1033. ------------------------------
  1034.  
  1035. Subject:  Suspicious fax machines
  1036. From: hm@ix.de (Harald Milz)
  1037.  
  1038. I'm collecting all data concerning suspective fax
  1039. machines, i.e. those which made problems in cooperating
  1040. with sendfax. The main reason is to find out whether
  1041. there are specific fax machines that refuse to work
  1042. with sendfax and/or your fax modem. As a goal, we will
  1043. be able to track down the bug(s). 
  1044.  
  1045. To contribute, please fill in the following template
  1046. and send it to me (hm@ix.de):
  1047.  
  1048. 1. <fax machine's brand and model>
  1049. 2. <corresponding fax number> (optional)
  1050. 3. <fax modem brand and model>
  1051. 4. <fax modem's firmware revision>      # tbd from ATI1
  1052. 5. <protocol parameters>        # tbd from Faxlog
  1053. 6. <errlog line from Faxlog>        # tbd from Faxlog
  1054. 7. <remarks>
  1055.  
  1056. If you encounter problems with a fax machine, please
  1057. call the receiving party and ask them for their fax
  1058. machine's brand & model and if they are willing to
  1059. offer their machine for some (limited) testing. 
  1060.  
  1061. The more exact your data is (the first 3 entries aren't
  1062. too good :-} ), the better the result will be,
  1063. hopefully.
  1064.  
  1065. This list is posted once a month (automatically) and if
  1066. five new entries were added to it (manually).
  1067.  
  1068. Thank you much.
  1069. hm
  1070.  
  1071. --------------------------------- snip ---------------------------------
  1072.  
  1073. Here's what's already in the list:
  1074.  
  1075.  
  1076.  
  1077. 1. Panasonic Panafax UF311
  1078. 2. +49 89 74824899
  1079. 3. ZyXEL U1496EG+
  1080. 4. U1496EG V 6.10g P
  1081. 5. +FDCS:1,3,0,2,0,0,0,4
  1082. 6. +FHNG:50 (Unspecified Transmit Phase D error)
  1083. 7. when sending 15 pg, connection broke after 6 pg. 
  1084.  
  1085.  
  1086. 1. NEC Nefax 17
  1087. 2. +49 2242 82114
  1088. 3. ZyXEL U1496EG+
  1089. 4. U1496EG V 6.10g P
  1090. 5. +FDCS:1,3,0,2,1,0,0,4
  1091. 6. +FHNG:50 (Unspecified Transmit Phase D error)
  1092. 7. machine didn't refuse when sending only 3 pages
  1093.    earlier. This time, 15 pg were sent.
  1094.  
  1095.  
  1096. 1. Telekom AF-310
  1097. 2. +49 7231 560851
  1098. 3. ZyXEL U1496 E / 6.10a, E+ / 6.01, E+ / 6.11a
  1099. 4. 
  1100. 5. +FDCS:1,3,0,2,0,0,0,4
  1101. 6. +FTPS:2 -> page bad, retrain requested
  1102. 7. sendfax hangs up after three tries.
  1103.    received fax shows black and white boxes at the
  1104.    footer, such as,
  1105.    ###   ###   ###   ###   ###
  1106.    ###   ###   ###   ###   ###  ...
  1107.    ###   ###   ###   ###   ###
  1108.  
  1109.  
  1110. -- 
  1111. Chris Lewis: _Una confibula non sat est_
  1112. Phone: Canada 613 832-0541  Ferret list: ferret-request@ferret.ocunix.on.ca
  1113. Latest psroff: FTP://ftp.uunet.ca/distrib/chris_lewis/psroff3.0pl17/*
  1114. Latest hp2pbm: FTP://ftp.uunet.ca/distrib/chris_lewis/hp2pbm/*
  1115.  
  1116.